Tree grid view definition

Overview

Next Design allows you to define a tabular tree grid that can be collapsed and expanded according to the tree structure. Similar to the tree diagram, based on the metamodel definition of the model structure, you can display and edit only the entities you want to see according to the purpose. Since it can handle a lot of information on one screen, it is also suitable for modeling large-scale structured software.

Info

  • The entities that can be displayed as child nodes in the tree of the tree grid are the entities that have ownership relationships, reference relationships, and derived relationships with the entities of the parent node, similar to the tree diagram.
  • Not only a tree that represents the parent-child structure of a model, but also a tree that traces the relationships between models.

Note

  • The tree grid will only show the models that are held in the related fields you added in the view definition.
  • Even if you have defined the model hierarchy in the metamodel, the child nodes of the tree will not be displayed until you add the related fields to the view definition of the tree grid.

The following describes the method of defining the tree grid view in the following order.

  • Show child nodes in tree
  • Hide child nodes from tree
  • Change the display column of the grid

Show child nodes in tree

To drill down the tree hierarchy in the tree grid so that you can expand related elements of your model as child nodes:

Show child nodes in tree

Operating procedure

  1. Select any cell in the grid row where you want to expand the child node.
  2. Open the New Control dialog using one of the following methods.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • From the ribbon, click Profile> Form> Add Exist Fields.
    • Right-click and click Add Exiting Field from the context menu.
  3. Select the field holding the related element of the model from the [Filelds] pull-down list in the [New Control] dialog, and click the [OK] button.
  4. If there is an existing related element, it will be displayed as a child node, and it will be added to the left edge of the toolbar at the top of the tree grid as a possible entity selection.

Note

  • If there are multiple types of entities that can be added as related elements, you need to add existing fields for each of those entities.

Hide child nodes from tree

To hide the child nodes that are tree-viewed in the tree grid, do the following:

Hide child nodes from tree

Operating procedure

  1. Select any cell in the grid row of the child node you want to hide from the tree grid.
  2. Right-click and select Hide this Field from the context menu.
  3. Sibling nodes held in the same related field are also hidden at the same time.

Change the display column of the tree grid

To change the columns displayed in the tree grid:

Change grid display columns

Operating procedure

  1. Click the Show/Hide Column button on the toolbar at the top of the tree grid.
  2. In the Column Visibility dialog, check the columns you want to show in the grid and uncheck the columns you want to hide.
  3. After changing the columns to be displayed in the grid, click the [Reflect to view definition] button and then the [Close] button.

Note

  • To edit the changed column structure in the view definition, you need the profile edit privilege.
  • If not reflected in the view definition, the original column structure will be restored when the project is reopened.
  • If the field corresponding to the column is not defined for the entity, the corresponding cell is grayed out.

To change the default column order and column width in the tree grid:

Operating procedure

  1. Swap the column order by dragging the column headings left and right in the tree grid
  2. Adjust the display width of each column in the tree grid.
  3. Click Form> Grid> Set Column Composition to View Definition from the ribbon.

Note

  • To reflect the changed column order and column width in the view definition as the default value of the tree grid, you need the edit permission for the profile.
  • If not reflected in the view definition, the original column order and column width will be restored when the project is reopened.